package com.xbjtech.shiro;

import org.apache.shiro.authc.HostAuthenticationToken;

public class MobileYzmToken implements HostAuthenticationToken {

	private static final long serialVersionUID = -305808681330670793L;

	private String mobile;
	private String yzm;
	private String host;
	
	public MobileYzmToken() {
	}

	public MobileYzmToken(String mobile, String yzm, String host) {
		this.mobile = mobile;
		this.yzm = yzm;
		this.host = host;
	}

	@Override
	public Object getPrincipal() {
		return this.mobile;
	}

	@Override
	public Object getCredentials() {
		return this.yzm;
	}

	@Override
	public String getHost() {
		return this.host;
	}

	
	
}
